projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
90c4515
)
Test duplicate shortcuts
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 10 Nov 2013 00:00:17 +0000
(19:00 -0500)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 10 Nov 2013 00:00:17 +0000
(19:00 -0500)
Add an application shortcut for the Music folder in testfilechooser.
The file chooser used to filter duplicates out, but this broke
in the sidebar merge.
tests/testfilechooser.c
patch
|
blob
|
history
diff --git
a/tests/testfilechooser.c
b/tests/testfilechooser.c
index 2f92f3228d66233c24b3318b454e07f75f35fa57..4d86e79e7e09751f77fc14c1cd71b6618e3619ff 100644
(file)
--- a/
tests/testfilechooser.c
+++ b/
tests/testfilechooser.c
@@
-674,6
+674,9
@@
main (int argc, char **argv)
gtk_file_chooser_add_shortcut_folder_uri (GTK_FILE_CHOOSER (dialog),
"file:///usr/share/pixmaps",
NULL);
+ gtk_file_chooser_add_shortcut_folder (GTK_FILE_CHOOSER (dialog),
+ g_get_user_special_dir (G_USER_DIRECTORY_MUSIC),
+ NULL);
/* Initial filename or folder */